package com.ruoyi.bank.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 村民信息管理对象 bank_villagers
 * 
 * @author ruoyi
 * @date 2024-03-15
 */
public class BankVillagers extends BaseEntity
{
    private static final long serialVersionUID = 1L;



    /** 隶属村编号 */
    @Excel(name = "*隶属村编号")
    private Long villageId;

    /** 户籍号 */
    @Excel(name = "*户籍号")
    private String villagerDomicileNumber;

    /** 姓名 */
    @Excel(name = "*姓名")
    private String villagerName;
    /** 性别 */
    @Excel(name = "*性别")
    private String villagerSex;

    public String getVillagerSex() {
        return villagerSex;
    }

    public void setVillageSex(String villageSex) {
        this.villagerSex = villagerSex;
    }

    public String getVillagerAge() {
        return villagerAge;
    }

    public void setVillagerAge(String villagerAge) {
        this.villagerAge = villagerAge;
    }

    /** 年龄 */
    @Excel(name = "*年龄")
    private String villagerAge;


    /** 与户主关系 */
    @Excel(name = "*与户主关系")
    private String relationship;

    /** 主信贷人标志*/

    private String villagerMainMark;

    public String getVillagerMainMark() {
        return villagerMainMark;
    }

    public void setVillagerMainMark(String villagerMainMark) {
        this.villagerMainMark = villagerMainMark;
    }

    public void setVillagerSex(String villagerSex) {
        this.villagerSex = villagerSex;
    }

    /** 身份证号 */
    @Excel(name = "*身份证号")
    private String villagerNumber;
    /** 手机号 */
    @Excel(name = "手机号")
    private String villagerPhonenumber;

    public String getVillagerPhonenumber() {
        return villagerPhonenumber;
    }

    public void setVillagerPhonenumber(String villagerPhonenumber) {
        this.villagerPhonenumber = villagerPhonenumber;
    }

    /** 居住地址 */
    @Excel(name = "居住地址")
    private String villagerAddress;

    /** 信息备注 */
    @Excel(name = "信息备注")
    private String villagerNotes;
    /** 村民编号 */
    @Excel(name = "*为必填项")
    private Long villagerId;

    private BankVillage bankVillage;

    public BankVillage getBankVillage() {
        return bankVillage;
    }

    public void setBankVillage(BankVillage bankVillage) {
        this.bankVillage = bankVillage;
    }

    public void setVillagerId(Long villagerId)
    {
        this.villagerId = villagerId;
    }

    public Long getVillagerId() 
    {
        return villagerId;
    }
    public void setVillageId(Long villageId) 
    {
        this.villageId = villageId;
    }

    public Long getVillageId() 
    {
        return villageId;
    }
    public void setVillagerDomicileNumber(String villagerDomicileNumber) 
    {
        this.villagerDomicileNumber = villagerDomicileNumber;
    }

    public String getVillagerDomicileNumber() 
    {
        return villagerDomicileNumber;
    }
    public void setVillagerName(String villagerName) 
    {
        this.villagerName = villagerName;
    }

    public String getVillagerName() 
    {
        return villagerName;
    }
    public void setRelationship(String relationship) 
    {
        this.relationship = relationship;
    }

    public String getRelationship() 
    {
        return relationship;
    }
    public void setVillagerNumber(String villagerNumber) 
    {
        this.villagerNumber = villagerNumber;
    }

    public String getVillagerNumber() 
    {
        return villagerNumber;
    }
    public void setVillagerAddress(String villagerAddress) 
    {
        this.villagerAddress = villagerAddress;
    }

    public String getVillagerAddress() 
    {
        return villagerAddress;
    }
    public void setVillagerNotes(String villagerNotes) 
    {
        this.villagerNotes = villagerNotes;
    }

    public String getVillagerNotes() 
    {
        return villagerNotes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("villagerId", getVillagerId())
            .append("villageId", getVillageId())
            .append("villagerDomicileNumber", getVillagerDomicileNumber())
            .append("villagerName", getVillagerName())
            .append("villagerSex", getVillagerSex())
            .append("villagerAge", getVillagerAge())
            .append("relationship", getRelationship())
            .append("villagerMainMark", getVillagerMainMark())
            .append("villagerPhonenumber", getVillagerPhonenumber())
            .append("villagerNumber", getVillagerNumber())
            .append("villagerAddress", getVillagerAddress())
            .append("villagerNotes", getVillagerNotes())
            .append("bankVillage", getBankVillage())
            .toString();
    }
}
